/* SlideshowManager */

#import <Cocoa/Cocoa.h>

#define PREF_SLIDESHOW_MANAGER_FRAME_RECT	@"SlideshowManager.frameRect"

@interface SlideshowManager : NSObject
{
    IBOutlet NSWindow		*mainWindow;
    IBOutlet NSButton		*buttonAdd;
    IBOutlet NSButton		*buttonDelete;
    IBOutlet NSButton		*buttonEdit;
    IBOutlet NSButton		*buttonPlay;
    IBOutlet NSTextField	*labelDuration;
    IBOutlet NSTextField	*labelFolders;
    IBOutlet NSTextField	*labelIgnored;
    IBOutlet NSTextField	*labelName;
    IBOutlet NSTextField	*labelFile;
    IBOutlet NSTextField	*labelOrder;
    IBOutlet NSTableView	*ssTable;


	NSMutableArray			*slideshows;
}

- (IBAction)addSlideshow:(id)sender;
- (IBAction)deleteSlideshow:(id)sender;
- (IBAction)editSlideshow:(id)sender;
- (IBAction)playSlideshow:(id)sender;


- (NSArray*) enumSlideshows;
- (void) updateUIFromSelection;


- (NSWindow *) mainWindow;

@end
